home *** CD-ROM | disk | FTP | other *** search
- Path: news.gate.net!pslfl2-35
- From: bhutto@gate.net (William Hutto)
- Newsgroups: comp.lang.c
- Subject: Re: Problem with ascii to number conversion.
- Date: 21 Jan 1996 12:53:39 GMT
- Organization: CyberGate, Inc.
- Message-ID: <4dtd0j$21r4@news.gate.net>
- References: <96012012081730705@busilink.com>
- NNTP-Posting-Host: pslfl2-35.gate.net
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <96012012081730705@busilink.com>,
- paul.kelley@busilink.com (Paul Kelley) spake:
- ;Hi,
- ; i am a beginner c programmer, stuck on what i thought was a simple
- ;problem. I have an ascii input file that contains payroll info for a
- ;month, the data is monetary values as ascii strings. I am trying to
- ;convert the ascii ti numbers total the result then place in another
- ;file. I am using micrsoft quick C and the ascii to number functions in
- ;it. Apparenntly these functions only work correctly up to four digits.
- ;After that teh ouput goes wild.
- ; Can anyone help me understand what is not corrrect? Is there any
- ;routines out there that can do this or am i looking at hardare/softare
- ;limitation?
- ; Any suggestions input or help would subject the giver
- ; to a profusion of thanks and positive thoughts.
- ;
- ; thanks
- ; Paul.
-
- You are going to need to post some code. We can only guess at what you might
- be doing wrong.
-
- Bill
-
- "Whatcha got on?...Your mind?"
-